﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<dynamic>" %>
<% Html.RenderAction("getMenu", "Menu");
   string menu = string.Empty;
   string userType = string.Empty;
   if (Session["UserType"] != null)
   {
       userType = Session["UserType"].ToString();
   }


   if (userType == "admin")
   {
       if (Cache["AdminCacheMenu"] != null)
       {
           menu = Cache["AdminCacheMenu"].ToString();
       }
   }
   else
   {
       if (Cache["UserCacheMenu"] != null)
       {
           menu = Cache["UserCacheMenu"].ToString();
       }
   }
   divMasterMenu.InnerHtml = menu;
%>
<div align="center" id="divMasterMenu" runat="server" class="Master_Div_Menu">
    <%--<ul id="qm0" class="qmmc qm-horizontal-c">
                <li><a class="qmitem-m qmparent" href="javascript:void(0)">desktop</a>
                    <ul class="qmsub">
                        <li><a class="qmitem-s" href="javascript:void(0)">features</a>
                            <ul class="qmsub">
                                <li><a class="qmitem-s" href="javascript:void(0)">justin</a></li>
                            </ul>
                        </li>
                        <li><a class="qmitem-s" href="javascript:void(0)">security</a></li>
                        <li><a class="qmitem-s" href="javascript:void(0)">performance</a></li>
                        <li><a class="qmitem-s" href="javascript:void(0)">customization</a></li>
                        <li><a class="qmitem-s" href="javascript:void(0)">technology</a></li>
                        <li><a class="qmitem-s" href="javascript:void(0)">videos</a></li>
                        <li><a class="qmitem-s" href="javascript:void(0);">tour</a></li>
                        <li><a class="qmitem-s" href="javascript:void(0);">future releases</a></li>
                    </ul>
                </li>
                <li><a class="qmitem-m qmparent" href="javascript:void(0)">mobile</a>
                    <ul class="qmsub">
                        <li><a class="qmitem-s" href="javascript:void(0)">download</a></li>
                        <li><a class="qmitem-s" href="javascript:void(0)">features</a></li>
                        <li><a class="qmitem-s" href="javascript:void(0)">customize</a></li>
                        <li><a class="qmitem-s" href="javascript:void(0)">sync</a></li>
                        <li><a class="qmitem-s" href="javascript:void(0)">develop</a></li>
                        <li><a class="qmitem-s" href="javascript:void(0)">get involved</a></li>
                        <li><a class="qmitem-s" href="javascript:void(0);">faq</a></li>
                        <li><a class="qmitem-s" href="javascript:void(0);">blog</a></li>
                        <li><a class="qmitem-s" href="javascript:void(0);">videos</a></li>
                        <li><a class="qmitem-s" href="javascript:void(0);">future releases</a></li>
                    </ul>
                </li>
                <li><a class="qmitem-m qmparent" href="javascript:void(0)">add-ons</a>
                    <ul class="qmsub">
                        <li><a class="qmitem-s" href="javascript:void(0)">firefox add-ons</a></li>
                        <li><a class="qmitem-s" href="javascript:void(0)">featured add-ons</a></li>
                        <li><a class="qmitem-s" href="javascript:void(0)">extensions</a></li>
                        <li><a class="qmitem-s" href="javascript:void(0)">themes</a></li>
                        <li><a class="qmitem-s" href="javascript:void(0)">personas</a></li>
                        <li><a class="qmitem-s" href="javascript:void(0)">search tools</a></li>
                        <li><a class="qmitem-s" href="javascript:void(0);">language support</a></li>
                        <li><a class="qmitem-s" href="javascript:void(0);">collection</a></li>
                        <li><a class="qmitem-s" href="javascript:void(0);">mobile add-ons</a></li>
                        <li><a class="qmitem-s" href="javascript:void(0);">developer hub</a></li>
                    </ul>
                </li>
                <li><a class="qmitem-m qmparent" href="javascript:void(0)">support</a>
                    <ul class="qmsub">
                        <li><a class="qmitem-s" href="javascript:void(0)">firefox support</a></li>
                        <li><a class="qmitem-s" href="javascript:void(0)">mobile support</a></li>
                        <li><a class="qmitem-s" href="javascript:void(0)">thunderbird support</a></li>
                    </ul>
                </li>
                <li><a class="qmitem-m qmparent" href="javascript:void(0);">about</a>
                    <ul class="qmsub">
                        <li><a class="qmitem-s" href="javascript:void(0);">about firefox</a></li>
                        <li><a class="qmitem-s" href="javascript:void(0);">join mozilla</a></li>
                        <li><a class="qmitem-s" href="javascript:void(0);">participate</a></li>
                        <li><a class="qmitem-s" href="javascript:void(0);">press center</a></li>
                        <li><a class="qmitem-s" href="javascript:void(0);">brand toolkit</a></li>
                        <li><a class="qmitem-s" href="javascript:void(0);">careers</a></li>
                        <li><a class="qmitem-s" href="javascript:void(0);">partnership</a></li>
                        <li><a class="qmitem-s" href="javascript:void(0);">legal</a></li>
                        <li><a class="qmitem-s" href="javascript:void(0);">contact us</a></li>
                        <li><a class="qmitem-s" href="javascript:void(0);">blog</a></li>
                    </ul>
                </li>
            </ul>--%>
    <%-- <ul id="qm0" class="qmmc qm-horizontal-c">
        <li><a class="qmitem-m qmparent" href="javascript:void(0)">home</a> </li>
        <li><a class="qmitem-m qmparent" href="javascript:void(0)">mobile</a>
            <ul class="qmsub">
                <li><a class="qmitem-s" href="javascript:void(0)">UNLOCK</a></li>
                <li><a class="qmitem-s" href="javascript:void(0)">DO SOMETHING</a></li>
            </ul>
        </li>
        <li><a class="qmitem-m qmparent" href="javascript:void(0)">website</a>
            <ul class="qmsub">
                <li><a class="qmitem-s" href="javascript:void(0)">.NET</a></li>
                <li><a class="qmitem-s" href="javascript:void(0)">PHP</a></li>
                <li><a class="qmitem-s" href="javascript:void(0)">JSP</a></li>
            </ul>
        </li>
        <li><a class="qmitem-m qmparent" href="javascript:void(0)">support</a>
            <ul class="qmsub">
                <li><a class="qmitem-s" href="javascript:void(0)">MOBILE SUPPORT</a></li>
                <li><a class="qmitem-s" href="javascript:void(0)">WEBSITE SUPPORT</a></li>
            </ul>
        </li>
        <li><a class="qmitem-m qmparent" href="javascript:void(0);">about</a>
            <ul class="qmsub">
                <li><a class="qmitem-s" href="javascript:void(0);">ABOUT US</a></li>
                <li><a class="qmitem-s" href="javascript:void(0);">ABOUT MOBILE</a></li>
                <li><a class="qmitem-s" href="javascript:void(0);">ABOUT WEBSITE</a></li>
            </ul>
        </li>
    </ul>--%>
</div>
<%--Javascrip & style for menu--%>
<!--%%%%%%%%%%%% NodeFire Styles [Publish this section to the document head for full validation!] %%%%%%%%%%%-->
<style type="text/css">
    /*!!!!!!!!!!! NodeFire Core CSS [Do Not Modify!] !!!!!!!!!!!!!*/
    /*[START-QCC]*/.qmclear
    {
    }
    .qmmc:after
    {
        content: ".";
        display: block;
        height: 0px;
        clear: both;
        overflow: hidden;
    }
    .qmmc img
    {
        border: none;
    }
    .qmmc, .qmmc > span, .qmmc > a, .qmmc div > a, .qmmc dd > a, .qmmc li > a, .qmmc div > span, .qmmc dd > span, .qmmc li > span, .qmmc div.qmsub, .qmmc dl, .qmmc dd, .qmmc .qmsub > li, .qmmc ul.qmsub
    {
        text-align: left;
        outline: none;
        font-weight: normal;
        text-decoration: none;
        font-family: Arial;
        font-size: 14px;
        line-height: normal;
        padding: 0px;
        margin: 0px;
        color: #333;
        background-color: transparent;
    }
    .qmmc .qmiefix
    {
        z-index: 0;
    }
    .qmmc, .qmmc .qmsub, .qmmc .qmmulti
    {
        list-style: none;
        padding: 0px;
        margin: 0px;
    }
    .qmmc .qmdivider
    {
        display: block;
        border-width: 0px;
        border-style: solid;
        position: relative;
    }
    .qmmc .qmtitle
    {
        display: block;
        cursor: default;
        white-space: nowrap;
        position: relative;
    }
    .qmmc
    {
        position: relative;
        zoom: 1;
    }
    .qmmc .qmitem-m, .qmmc > li
    {
        display: block;
        white-space: nowrap;
        position: relative;
    }
    .qmmc .qmitem-s, .qmmc .qmsub > li
    {
        display: block;
        white-space: nowrap;
        position: relative;
    }
    .qmmc .qmsub
    {
        visibility: hidden;
        position: absolute;
        z-index: 10;
        left: 100%;
        top: 0px;
    }
    .qmmc div.qmsub
    {
        left: 0px;
    }
    .qmmc .qmcbox
    {
        cursor: default;
        display: block;
        position: relative;
        white-space: normal;
    }
    .qmmc .qmmulti
    {
        display: block;
        float: left;
        position: relative;
    }
    .qmmc .qmmulti dd
    {
        margin: 0px;
        padding: 0px;
        position: relative;
    }
    .qmmc.qm-horizontal-c > li, .qmmc.qm-horizontal-c .qmitem-m, .qmsub.qm-horizontal-c > li, .qmsub.qm-horizontal-c > .qmitem-s, .qm-horizontal-c > .qmtitle, .qm-horizontal-c > .qmdivider, .qm-horizontal-c > .qmcbox, .qm-horizontal-c > li > .qmtitle, .qm-horizontal-c > li > .qmdivider, .qm-horizontal-c > li > .qmcbox
    {
        float: left;
    }
    .qm-horizontal-c > li > .qmsub
    {
        left: 0px;
        top: 100%;
    }
    .qmmc li:hover > .qmsub, .qmmc dd:hover > ul.qmsub
    {
        visibility: inherit;
    }
    .qmmc .qmml0
    {
        z-index: 99;
    }
    .qmmc .qmml1
    {
        z-index: 98;
    }
    .qmmc .qmml2
    {
        z-index: 97;
    }
    .qmmc .qmml3
    {
        z-index: 96;
    }
    .qmmc .qmml4
    {
        z-index: 95;
    }
    .qmmc .qmml5
    {
        z-index: 94;
    }
    .qmmc .qmml6
    {
        z-index: 93;
    }
    .qmmc .qmml7
    {
        z-index: 92;
    }
    .qmmc .qmml8
    {
        z-index: 91;
    }
    .qmmc .qmml9
    {
        z-index: 90;
    }
    
    
    /*!!!!!!!!!!! NodeFire Styles [Please Modify!] !!!!!!!!!!!*/
    
    
    /* NodeFire 0 */
    
    /*"""""""" (MAIN) Container""""""""*/
    #qm0
    {
        width: auto;
        background-color: transparent;
    }
    
    
    /*"""""""" (MAIN) Items""""""""*/
    #qm0 .qmitem-m
    {
        padding: 15px 30px 15px 10px;
        background-color: transparent;
        color: #313131;
        font-family: Arial;
        font-size: 14px;
        text-decoration: none;
        font-weight: bold;
        text-align: left;
        font-variant: small-caps;
        border-width: 0px 0px 0px 1px;
        border-style: solid;
        border-color: #666666;
    }
    
    
    /*"""""""" (MAIN) Active State""""""""*/
    #qm0.qmmc .qmitem-m.qmactive, #qm0 li:hover > .qmitem-m.qmparent, #qm0 dd:hover > .qmitem-m.qmparent
    {
        z-index: 100;
        background-color: #FFFFFF;
    }
    
    
    /*"""""""" (SUB) Container""""""""*/
    #qm0 .qmsub
    {
        margin: -1px 0px 0px;
        border-width: 1px;
        border-style: solid;
        border-color: #666666;
        -moz-box-shadow: rgb(153, 153, 153) 0px 0px 4px;
        -webkit-box-shadow: rgb(153, 153, 153) 0px 0px 4px;
        -ms-box-shadow: rgb(153, 153, 153) 0px 0px 4px;
        -o-box-shadow: rgb(153, 153, 153) 0px 0px 4px;
        -khtml-box-shadow: rgb(153, 153, 153) 0px 0px 4px;
        box-shadow: rgb(153, 153, 153) 0px 0px 4px;
    }
    
    
    /*"""""""" (SUB) Column""""""""*/
    #qm0 .qmsub .qmmulti
    {
        padding: 10px;
    }
    
    
    /*"""""""" (SUB) Items""""""""*/
    #qm0 .qmitem-s
    {
        padding: 5px 80px 5px 10px;
        background-color: #FFFFFF;
        color: #313131;
        font-size: 11px;
        font-weight: normal;
        border-width: 1px 0px;
        border-style: solid;
        border-color: transparent;
    }
    
    
    /*"""""""" (SUB) Hover State""""""""*/
    #qm0 .qmitem-s:hover
    {
        /*""""""""	background-color:rgba(102, 102, 102, 0.498039);	""""""""*/
        background-color: rgba(164, 164, 164, 1);
        border-color: #666666;
    }
    
    
    /*"""""""" (SUB) Parent Items""""""""*/
    #qm0 .qmitem-s.qmparent
    {
        background-image: url(http://www.opencube.com/nodefire1/qmimages/arrow_5.gif);
        background-repeat: no-repeat;
        background-position: 95% 50%;
    }
    
    
    /*"""""""" (SUB) Active State""""""""*/
    #qm0.qmmc .qmitem-s.qmactive, #qm0 ul li:hover > .qmitem-s.qmparent, #qm0 ul dd:hover > .qmitem-s.qmparent
    {
        /*""""""""background-color:rgba(102, 102, 102, 0.498039); */
        background-color: rgba(164, 164, 164, 1);
        border-color: #666666;
    }
    
    
    /*"""""""" Individual Titles""""""""*/
    #qm0 .qmtitle
    {
        cursor: default;
        padding: 5px 0px 5px 4px; /*background-color:rgba(102, 102, 102, 0.498039);*/
        background-color: rgba(164, 164, 164, 1) /*color:#313131;*/ font-family:Arial;
        font-size: 11px;
        font-weight: bold;
        font-variant: small-caps;
        border-width: 0px 0px 1px;
        border-style: solid;
        border-color: #666666;
    }
    
    
    /*"""""""" Individual Horizontal Dividers""""""""*/
    #qm0 > .qmdivider, #qm0 .qmsub > .qmdivider, #qm0 dd > .qmdivider, #qm0 > li > .qmdivider, #qm0 .qmsub > li > .qmdivider
    {
        height: 1px;
        background-color: #666666;
    }
    
    
    /*"""""""" Individual Vertical Dividers""""""""*/
    #qm0.qm-horizontal-c > .qmdivider, #qm0 .qm-horizontal-c > .qmdivider, #qm0.qm-horizontal-c > li > .qmdivider, #qm0 .qm-horizontal-c > li > .qmdivider
    {
        width: 1px;
        height: 15px;
        background-color: #666666;
        margin: 4px 2px 0px;
    }
    
    
    /*[END-QS0]*/
</style>
<!-- Add-On Core Code (Remove when not using any add-on's) -->
<!--[START-QZ]-->
<style type="text/css">
    .qmfv
    {
        visibility: visible !important;
    }
    .qmfh
    {
        visibility: hidden !important;
    }
</style>
<script type="text/javascript">
    if (!window.qmad) { qmad = new Object(); qmad.binit = ""; qmad.bvis = ""; qmad.bhide = ""; qmad.bhovervis = ""; qmad.bhoverhide = ""; }
</script>
<!--[END-QZ]-->
<!-- Add-On Settings -->
<script type="text/JavaScript">

    /*******  Menu 0 Add-On Settings *******/
    var a = qmad.qm0 = new Object();

    /* Transitions - Style Animations Add On */
    a.styleanim_enabled = true;
    a.styleanim_subs_show = "[[[{WebkitTransform:{start:'translateY(50px)',end:'translateY(0px)'}},{frames:20,reset:true,applytype:'inline',node:'this'}]],[[{opacity:{start:'0',end:'1'}},{frames:40,reset:true,applytype:'inline',node:'this'}]]]";

    /*[END-QA0]*/

</script>
<!--[START-QJ]-->
<!-- NodeFire API: Core Methods (coremini) -->
<script type="text/javascript">
/* <![CDATA[ */var NF=new _NF();if(window.jQuery){(function(a){a.fn.NF=this.NF}(jQuery))}function _NF(){Array.prototype.NFisArray=1;if(!window.$){window.$=function(b){return[document.getElementById(b.replace("#",""))]}}}_NF.prototype._util=function(){this.string=new function(){this.capitalize=function(e){if(e.length>0){return e.substring(0,1).toUpperCase()+e.substring(1)}}};this.object=new function(){var e=this;this.clone=function(h,g){if(!h||typeof h!="object"||h.nodeType){return h}g=g||[];for(var f in g){if(h==g[f]){return h}}g.push(h);var j=(h.NFisArray?[]:{});for(var f in h){j[f]=e.clone(h[f],g)}return j}};this.array=new function(){this.removeItem=function(e,g,f){return e.splice(this.indexOf(e,g,f),1)};this.indexOf=function(e,h,f){for(var g=0;g<e.length;g++){if((f?e[g][f]:e[g])==h){return g}}return -1}};function d(){var h="className",f="parentNode",g=this;function e(i){return new RegExp("\\b"+i+"\\b","g")}g.addClass=g.aC=function(k,j){var i;if(k&&(typeof(i=k[h])=="string")){if(i.search(e(j))<0){k[h]+=(i?" ":"")+j;return true}}};g.removeClass=g.rC=function(l,j){var i;if(l&&(typeof(i=l[h])=="string")){var k=l[h];l[h]=l[h].replace(e(j),"");return(k!=l[h])}};g.isRelation=function(i,j){if(i&&j){if(g.iD(i,j)||g.iD(j,i)){return true}}};g.isDescendant=g.iD=function(i,j){if(i&&j){while(j=j[f]){if(j==i){return true}}}};g.getFirstDecendantByClassName=g.gFD=function(o,k,j){var q=k;if(q){if(!q.NFisArray){q=[k]}if(j&&NF.u.d.hC(o,q)){return o}for(var l=0;l<q.length;l++){var m=NF.u.d.gEBCN(o,q[l],true);if(m){return m}}}};g.getNodesByClassName=g.gEBCN=function(o,k,j){var q=[],n=e(k),m=o.getElementsByTagName("*");for(var l=0;l<m.length;l++){if(n.test(m[l][h])){q.push(m[l]);if(j){return m[l]}}}if(!j){return q}};g.hasClass=g.hC=function(r,q,p){if(!q.NFisArray){q=[q]}var l,j=0,k=q.length;if(r&&(l=r[h])){for(var o=0;o<k;o++){if(e(q[o]).test(l)){if(!p||k==1){return q[o]}else{j++}}}if(p&&j==k){return q}}}}d.prototype=this;this.d=this.dom=new d();function c(){var f=this;f.getBrowserSpecifcStyleName=function(l,j){var k=l;if(NF.util.browser.ie8Down){if(j){k="zoom"}else{k=""}}else{var m=document.createElement("DIV");var h=["","Moz","Webkit","ms","O","Khtml"];for(var g=0;g<h.length;g++){k=h[g];k+=((!h[g])?l:NF.util.string.capitalize(l));if(typeof m.style[k]!="undefined"){break}}if(j){j="scale("+j+")"}}return{styleName:k,zoomValue:j}};f.getComputedStyle=f.gCS=function(j,g,h){if(j){var i;if((i=document.defaultView)&&(i=i.getComputedStyle)){return i(j,null).getPropertyValue(g)}else{if(i=j.currentStyle){return i[h]}}}};f.getOuterOffsets=function(q,p){var l={w:0,h:0};if(q){var o=["top","right","bottom","left"];var m=["Top","Right","Bottom","Left"];var j={};for(var k=0;k<o.length;k++){var n=0;n+=parseFloat(f.getComputedStyle(q,"padding-"+o[k],"padding"+m[k]))||0;n+=parseFloat(f.getComputedStyle(q,"border-"+o[k]+"-width","border"+m[k]+"Width"))||0;if(p){j[o[k]]=parseFloat(f.getComputedStyle(q,"margin-"+o[k],"margin"+m[k]))||0;n+=j[o[k]]}if(isNaN(n)){n=0}if(k==0||k==2){l.h+=n}else{l.w+=n}}}var h=l.w,r=l.h;var g={w:h,h:r,width:h,height:r,offsetWidth:h,offsetHeight:r,cW:h,cH:r};g.margin=j;return g};f.getInnerOffsets=f.gI=function(j){var i=e(j,"Left")+e(j,"Right");var g=e(j,"Top")+e(j,"Bottom");var k=(typeof i=="number")?j.clientWidth-i:j.clientWidth;var h=(typeof g=="number")?j.clientHeight-g:j.clientHeight;return{w:k,h:h,width:k,height:h,offsetWidth:k,offsetHeight:h}};function e(h,g){return parseInt(f.getComputedStyle(h,"padding-"+g,"padding"+g))||0}}c.prototype=this;this.c=this.css=new c();function a(){var g=this;var f=navigator.userAgent;var e=f.toLowerCase();g.mobile=e.indexOf("mobile")+1;g.smallMobile=g.mobile&&window.devicePixelRatio>1;g.ipad=e.indexOf("ipad")+1;g.ios=e.indexOf("like mac")+1;g.android=e.indexOf("android")+1;g.ie=f.indexOf("MSIE")+1;g.ie7=(g.ie&&f.indexOf("MSIE 7")+1);g.ie8=(g.ie&&f.indexOf("MSIE 8")+1);g.ie9=(g.ie&&f.indexOf("MSIE 9")+1);g.ie9Up=(g.ie&&f.indexOf("MSIE 1")+1)||g.ie9;g.ie6Down=(g.ie&&!window.XMLHttpRequest);g.ie7Down=(g.ie7||g.ie6Down);g.ie8Down=(g.ie8||g.ie7Down);g.firefox=e.indexOf("firefox")+1;g.chrome=e.indexOf("chrome")+1;g.safari=!g.chrome&&e.indexOf("safari")+1;g.opera=e.indexOf("opera")+1;g.webkit=e.indexOf("webkit")+1;this.getValue=function(j,l,h){if(typeof j!="object"){return j}var m=j.all;for(var k in j){if((NF.u.browser[k]||(h&&h[k]))&&(j[k]||(l&&typeof j[k]==l))){m=j[k];break}}return m}}a.prototype=this;this.browser=new a();this.eventStore=function(f){var e={};this.getEvent=function(g){return e[g]};this.addEvent=function(h,g){e[h]={handle:g}};this.getHandle=function(h){var g=e[h];if(g){return g.handle}};this.fire=function(g,i){this.lastEvent={type:g,args:i};if(!i.NFisArray){i=new Array(i)}var j;if(j=this.getHandle(g)){return j.apply(f,i)}}};function b(){var g=this;g.loaded;g.addListener=function(o,h,m){if(o){if(!o.NFisArray){o=[o]}for(var l=0;l<o.length;l++){if(h&&!h.NFisArray){h=[h]}for(var k=0;k<h.length;k++){var n;if(!(n=o[l].nf_eventStore)){n=o[l].nf_eventStore=new NF.util.eventStore(o[l])}n.addEvent(h[k],m);if(h[k]=="ready"){e()}}}}};function e(i){if(NF.u.browser.opera||NF.u.browser.firefox||NF.u.browser.ie9Up||NF.u.browser.webkit){document.addEventListener("DOMContentLoaded",f,false)}else{if(NF.u.browser.ie){document.write("<script id='NFreadytest' type='text/javascript' defer='defer' src='javascript:void(0)'><\/script>");var h=document.getElementById("NFreadytest");h.onreadystatechange=function(){if(this.readyState=="complete"){f()}}}else{setTimeout(function(){NF.u.e.fire(document,"ready")},1000)}}}function f(){NF.u.e.fire(document,"ready")}g.addDomListener=function(o,h,n,m,j){if(h=="ready"){NF.u.e.addListener(document,h,n);return}var l=n;if(m){l=function(i){o[m](i)}}if(!h.NFisArray){h=[h]}for(var k=0;k<h.length;k++){if(o.addEventListener){o.addEventListener(h[k],l,j)}else{if(o.attachEvent){o.attachEvent("on"+h[k],l)}}}};g.addDomListener(window,"load",function(){g.loaded=true});g.fire=function(k,h,i){var j=k.nf_eventStore;if(j){if(i){if(!i.NFisArray){i=[i]}else{if(typeof i[0]!="object"){i[0]={}}}}else{i=[{}]}i[0].type=h;i[0].target=k;return j.fire(h,i)}};g.stopPropogation=function(h,i){if(h){h.cancelBubble=true;if(h.stopPropagation){h.stopPropagation()}if(i&&h.preventDefault){h.preventDefault()}return false}};g.preventDefault=function(h){if(h){if(h.preventDefault){h.preventDefault()}h.returnValue=false}}}b.prototype=this;this.e=this.event=new b()};NF._util.prototype=NF;_NF.prototype.u=_NF.prototype.util=new NF._util();/* ]]> */
</script>
<!-- NodeFire API: Animation Transitions (animationmini) -->
<script type="text/javascript">
/* <![CDATA[ */_NF.prototype._anim=function(){this.clip=function(a,d){var c=new Object();c.os={};this.params=d;this.type="clip";if(a&&!a.NFisArray){a=[a]}for(var b=0;b<a.length;b++){if(!a[b].isStyleAnim){a[b]=new NF.anim.styleAnim(a[b],this)}}this.getAnimations=function(){return a};this.applyNode=function(f){if(f){var h=this.params.targetClass;if(h){var g=NF.u.d.gFD(f,h);if(!g&&NF.u.d.hC(f,h)){g=f}f=g}this.params.node=f}};this.renderFrame=function(g){var e=this.params.node;if(e){for(var f=0;f<a.length;f++){a[f].render(e,null,this.params.applytype,g,this.params.frames,this.params.ease)}NF.u.e.fire(this,"frameRendered",{frame:g,frames:this.params.frames})}};this.resetAnimations=function(g){var e=this.params.node;if(e){for(var f=0;f<a.length;f++){a[f].reset(e,(g||d.reset))}}NF.u.e.fire(this,"styleAnimReset")};this.applyGPUBoost=function(f){if(this.params.gpuBoost&&NF.util.browser.safari){var g=this.params.node.style;var h=NF.util.css.getBrowserSpecifcStyleName("transform");var e=(f=="start"?"translateZ(0)":"");g[h.styleName]=e}};this.applyElementStyles=function(h,j){var g;if(g=this.params[h+"Styles"]){var k;if(k=this.params.node){for(var f in g){if(!c.os[f]){c.os[f]=k.style[f]}j?k.style[f]=c.os[f]:k.style[f]=g[f]}NF.u.e.fire(this,h+"StylesApplied",{styles:g,node:k})}}}};this.player=function(d,a,i){this.initialize=g;var m=new Object();m.reverse=false;var n=this,f,k=0,h=0;if(!a){a=15}if(d){g(d)}function g(o){d=o;if(d.type=="clip"){d={timeline:new NF.anim.timeline(d)}}else{if(d.type=="timeline"){d={timeline:d}}}}function e(){if(!f){f=new Array(d.timeline.tracks.length);for(var v=0;v<f.length;v++){var o=m.reverse;var p=d.timeline.tracks[v].clips;var y=new Array(p.length);var z=0;for(var u=0;u<p.length;u++){var q;if(q=p[u].params.frameAnchorPos){z=q}var x;var w=z+(x=p[u].params.frames);y[u]={start:z,end:w,fp:(o?x:0)};if(w>h){h=w}z=w}k=(o?h:0);f[v]={clipPos:(o?p.length-1:0),clipMarkers:y}}}}this.getTimeline=function(){return d.timeline};this.stop=function(){(m.playing)?m.stop=true:c()};this.pause=function(){var o=m.pause=!m.pause;if(o){m.playing=false}else{m.playing=true;l()}return(o)};this.step=function(q,p){if(!m.playing){e();if(q=="lastframe"){q=h}var o=j(Math.abs(parseInt(q)),p);if(!p){NF.u.e.fire(n,"stepped",{framePos:k})}return o}};this.play=function(){if(!m.playing){m.playing=true;m.pause=false;m.stop=false;e();l()}};function l(){NF.u.e.fire(n,"playResume",{framePos:k});j()}function j(u,q){var s,z=(typeof u=="number");if(!z&&m.stop){c();return true}if(d.hook){d.timeline.applyHookClipElements(d.element,d.hook)}var o=m.reverse;var A=(z?u:1);if(o){A=-A}k+=A;if(k>=0&&k<=h){for(var t=0;t<d.timeline.tracks.length;t++){var p=d.timeline.tracks[t].clips;var x=f[t].clipPos;var w=b(t,x,k);if(!w.r){if((o&&x>0)||(!o&&x<(p.length-1))){p[x].resetAnimations();x=f[t].clipPos=f[t].clipPos+(o?-1:1)}w.m.playing=0;w=b(t,x,k)}if(w.r){if(!w.m.playing){o?w.m.fp=p[x].params.frames:w.m.fp=0}var y;if((y=k-1==w.start)||k==w.end){var v=(y?"start":"end");p[x].applyElementStyles(v,o&&x==0&&y);p[x].applyGPUBoost(v)}w.m.fp=w.m.fp+A;p[x].renderFrame(w.m.fp);NF.u.e.fire(n,"framerendered",{framePos:w.m.fp,clip:p[x]});w.m.playing=1}}if(!z&&!m.pause){m.pt=setTimeout(function(){j()},a)}else{clearTimeout(m.pt);if(!q){NF.u.e.fire(n,"paused",{framePos:k})}}}else{return c(true,q)}}function b(s,r,q){var o=f[s].clipMarkers[r];return{m:o,start:o.start,end:o.end,r:q>=o.start&&q<=o.end}}function c(s,r){if(m.stop){NF.u.e.fire(n,"stopped",{framePos:k})}if(s){var q=m.reverse?q="Start":q="End";NF.u.e.fire(n,"playedTo"+q,{clipElement:d.element,callObject:d.callObject})}var t=d.timeline.tracks;for(var p=0;p<t.length;p++){for(var o=t[p].clips.length-1;o>=0;o--){t[p].clips[o].resetAnimations()}}m.playing=false;f=null;if(i&&s){if(!m.loopStarted){(typeof i=="number")?m.lc=i:m.lc=100000000;m.loopStarted=1}if(m.lc>0){m.lc--;if(r){return false}else{n.play()}}else{m.loopStarted=0}}else{m.loopStarted=0}return true}this.setPlayDirection=function(o){(o=="reverse")?o=true:o=false;if(o!=m.reverse){this.changePlayDirection();return true}return false};this.getPlayDirection=function(){return(m.reverse?"reverse":"forward")};this.changePlayDirection=function(){m.reverse=!m.reverse};this.setPlayDirection=function(o){(o=="forward")?m.reverse=false:m.reverse=true};this.getHook=function(){return d.hook};this.isPlaying=function(){if(m.playing){return this.getPlayDirection()}}};this.playerSynchronizer=new function(){var a=this;var b=[];a.isPlaying=false;a.delay=15;a.addPlayer=function(c){b.push(c)};a.removePlayer=function(c){return NF.util.array.removeItem(b,c)};a.isPlayerSynchronized=function(d){for(var c=0;c<b.length;c++){if(b[c]==d){return true}}};a.pause=function(){a.isPause=1};a.play=function(d,c){if(!d){d=a.delay}if(!c&&a.isPlaying){return true}a.isPlaying=true;var f;for(var e=0;e<b.length;e++){if(b[e].step(1,true)){NF.u.e.fire(b[e],"playerFinished");b.splice(e,1);e--}else{f=true}}if(f&&!a.isPause){setTimeout(function(){a.play(d,true)},d)}else{a.isPlaying=false;a.isPause=0}}};this.track=function(){this.type="track";this.clips=[];this.addClip=function(a){a.applyNode(a.params.node);this.clips.push(a)};this.removeClip=function(a){return NF.util.array.removeItem(clips,a)}};this.timeline=function(c,d){var b=[];this.tracks=b;this.type="timeline";this.hook=d;if(c){a(c)}this.addTrack=function(e){a(e)};this.removeTrack=function(e){return NF.util.array.removeItem(b,e)};function a(e){if(e){var g=e;if(e.NFisArray||e.type=="clip"){if(e&&!e.NFisArray){e=[e]}g=new NF.anim.track();for(var f=0;f<e.length;f++){g.addClip(e[f])}}return b.push(g)}}this.applyHookClipElements=function(h,g){for(var f=0;f<b.length;f++){for(var e=0;e<b[f].clips.length;e++){if(b[f].clips[e].params.hook==g){b[f].clips[e].applyNode(h)}}}}};this.animationManager=function(){var c=[];var a=[];this.addElement=function(h,d){if(h){var g,f={elm:h,A:d};for(var e=0;e<a.length;e++){if(a[e].elm==h){g=a[e]=f}}if(!g){g=a[a.push(f)-1]}b(f);return g}};this.removeElementObject=function(d){NF.util.array.removeItem(a,d,"elm")};this.getAnimVals=function(e){for(var d=0;d<a.length;d++){if(a[d].elm==e){return a[d].A}}};function b(d){var f=1;for(var e=0;e<c.length;e++){if(c[e].elm==d.elm){return(c[e]=d)}}return c[c.push(d)-1]}this.getArchiveAnimVals=function(e){for(var d=0;d<c.length;d++){if(c[d].elm==e){return c[d].A}}}}};NF._anim.prototype=NF;_NF.prototype.a=_NF.prototype.anim=new NF._anim();NF._anim.prototype.styleAnim=function(d,e){var h=new NF.anim.animationManager();this.isStyleAnim=1;this.getOriginalValue=function(l,k,j){if(!j){j="start"}return h.getArchiveAnimVals(l)[j][k][0]};this.init=function(r){if(r){var k;if(!(k=NF.anim.sheet)){var J=document.createElement("style");document.getElementsByTagName("head")[0].appendChild(J);k=NF.anim.sheet=document.styleSheets[document.styleSheets.length-1];var v="-moz-transform:;-ms-transform:;-webkit-transform:;-o-transform:;-khtml-transform:;";v+="box-shadow:;-moz-box-shadow:;-ms-box-shadow:;-webkit-box-shadow:;-o-box-shadow:;-khtml-box-shadow:;";v+="border-radius:;-moz-border-radius:;-ms-border-radius:;-webkit-border-radius:;-o-border-radius:;-khtml-border-radius:;";if(k.insertRule){k.insertRule(".nftestforstylename {"+v+"}",0)}else{if(k.addRule){k.addRule(".nftestforstylename","{"+v+"}")}}}var n="cssRules";if(k.rules){n="rules"}if(!e){e={params:{}}}var y={clip:e,applytype:e.params.applytype,sheetRN:n,cssName:{},altName:{},vMult:{},transforms:{},wrap:{},unit:{},origD:{},orig:{},end:{},start:{},dist:{},type:{}},I=r.style;for(var x in d){var u=f(d[x].start)+"";if(u.indexOf("rgba")+1){var w=g(x,u,"rgba");if(typeof w=="object"){var j=f(d[x].end);var l=g(x,j,"rgba");d[x].start=w.color;d[x].end=l.color;if(e.params.opacityInsteadOfRGBAInOldBrowsers!="off"&&x=="backgroundColor"&&!d.opacity){d.opacity={start:w.opacity,end:l.opacity}}}}}for(var x in d){if(e.params.applytype=="stylesheet"){var K;if(!(K=e.nfid)){var t="nf"+Math.floor(Math.random()*10000000);e.nfid=t;if(k.insertRule){k.insertRule("."+t+" {}",k[n].length)}else{if(k.addRule){k.addRule("."+t,"{}")}}NF.util.dom.addClass(r,t);e.nfsheetpos=k[n].length-1}else{NF.util.dom.addClass(r,K)}}var u=f(d[x].start);var p=0;y.start[x]=[];y.end[x]=[];y.dist[x]=[];y.unit[x]=[];y.wrap[x]={b:"",a:""};y.vMult[x]=1;y.transforms[x]=[];if(x.toLowerCase().indexOf("color")+1&&u.indexOf("rgb")+1){var B="rgb";if(u.indexOf("rgba")+1){B="rgba"}y.type[x]=B;y.wrap[x]={b:B+"(",a:")"}}if(x=="clip"){y.origD.position=I.position;I.position="absolute";y.wrap[x]={b:"rect(",a:")"}}else{if(x.toLowerCase().indexOf("transform")+1){y.type[x]="transform";var m=NF.anim.sheet[y.sheetRN][0].style;var o="Moz ms Webkit O Khtml".split(" ");for(var E=0;E<o.length;E++){if(m[o[E]+"Transform"]!=undefined){y.altName[x]=o[E]+"Transform";y.cssName[x]="-"+o[E].toLowerCase()+"-transform";break}}}else{if(x=="opacity"&&NF.util.browser.ie8Down){if(NF.u.d.hC(r,["nfSubC","nfItem"])){y.origD.filter="none"}y.altName[x]="filter";y.wrap[x]={b:"alpha(opacity=",a:")"};y.vMult[x]=100}else{if(x=="borderWidth"){y.cssName[x]="border-width"}else{if(x=="backgroundColor"){y.cssName[x]="background-color"}else{if(x=="borderColor"){y.cssName[x]="border-color"}else{if(x=="fontSize"){y.cssName[x]="font-size"}else{if(x=="borderRadius"){y.cssName[x]="border-radius";var m=NF.anim.sheet[y.sheetRN][0].style;var o="Moz ms Webkit O Khtml".split(" ");for(var E=0;E<o.length;E++){if(m[o[E]+"BorderRadius"]!=undefined){y.altName[x]=o[E]+"BorderRadius";y.cssName[x]="-"+o[E].toLowerCase()+"-border-radius";break}}}else{if(x=="boxShadow"){y.cssName[x]="box-shadow";var m=NF.anim.sheet[y.sheetRN][0].style;var o="Moz ms Webkit O Khtml".split(" ");for(var E=0;E<o.length;E++){if(m[o[E]+"BoxShadow"]!=undefined){y.altName[x]=o[E]+"BoxShadow";y.cssName[x]="-"+o[E].toLowerCase()+"-box-shadow";break}}}}}}}}}}}y.orig[x]=I[y.altName[x]||x];var C=c(d[x].start);var I=c(d[x].end);var q;var F;if(I.obj||C.obj){if(x=="clip"){p=1}q=(x.match(/top|left/)||(F=(x.match(/idth/)))||(F=(x.match(/eight/)))?"offset"+NF.u.string.capitalize(x.replace(/min|max/,"")):0);if(!q){if(x.match(/left|Left|right|Right/i)){q="offsetWidth"}if(x.match(/top|Top|bottom|Bottom/i)){q="offsetHeight"}}}var H="";for(var E=0;E<C.val.length;E++){if(p){if(E==0||E==2){q="offsetHeight"}if(E==1||E==3){q="offsetWidth"}}if(E>0&&E<C.val.length){H+=" "}var z=a(C.val[E],C.obj,r,q,F,x,y.is_RGB);var D;if(y.type[x]=="transform"&&(D=C.val[E].indexOf("(")+1)){y.transforms[x].push(C.val[E].substring(0,D-1));z.unit=C.val[E].match(/deg|px|%/i);if(!z.unit){z.unit=""}z.color=false}else{if(y.type[x]=="rgb"||y.type[x]=="rgba"){z.unit="";z.color=false}}y.start[x].push(z.number);var G=a(I.val[E],I.obj,r,q,F,x);y.end[x].push(G.number);y.unit[x].push(z.unit);z.color?y.dist[x].push(0):y.dist[x].push(G.number-z.number);H+=z.number+z.unit}I[x]=y.wrap[x].b+H+y.wrap[x].a}return(h.addElement(r,y,this))}};function g(k,m,j){var n=document.createElement("DIV");try{return n.style[k]=m}catch(l){if(j=="rgba"){var q=m.replace(j,"rgb");q=q.replace(/((?!.*\,).*?\))/g,"");q=q.substring(0,q.length-1)+")";var o=m.match(/((?!.*\,).*?\))/g,"")+"";o=o.substring(0,o.length-1);return{color:q,opacity:o}}}}function f(j){return((typeof j=="object")?j.value:j)}function c(j){var k=((((j||j.value)+"").match(","))||" ")+"";return(typeof j=="object"?{val:(j.value+"").split(k),obj:j}:{val:(j+"").split(k)})}function a(o,p,u,j,r,q){if(p){var v=p["adjust_"+j];if(typeof v!="number"){v=0}var x=(r&&(j=="offsetWidth"||j=="offsetHeight")?u[j]-NF.u.c.gI(u)[j]:0);var m,t=p.refNode;if(t.isStyleAnim){m=t.getOriginalValue(u,q)+v}else{if(typeof t=="string"&&t.indexOf("attr-")==0){m=u.getAttribute(t.substring(5))||0}else{if(u=i(u,t)){m=u[j]-x+v}}}var w=0;if(o.match(/\%\-|\%\+/)){var y=o.replace(/(.*?)\-|\+/,"");w=parseInt(y)||0;if(!w){var z=y.match(/(.*?):/);if(z.length){u=u[z[0].replace(":","")];y=y.replace(z[0],"")}z=y.match(/[A-Z]/g)||[];var k=y;for(var s=0;s<z.length;s++){k=k.replace(z[s],"-"+z[s].toLowerCase())}if(k.length>2){w=parseInt(NF.util.css.gCS(u,k,y))||0}}}if(!o.match(/px/)){o=parseInt((m*(parseInt(o)/100))-w)+"px"}}if((o+"").match(/#/)){return{unit:"",number:o,color:"#"}}else{var l=o.match(/[-+]?\d*\.?\d+/)+"";return{unit:(o+"").substring(l.length),number:parseFloat(l)}}}function i(m,j){if(!j.NFisArray){j=[j]}var l=m;for(var k=0;k<j.length;k++){if(l){(j[k]=="self")?l=m:l=j[k](l)}}if(l){return l}}this.reset=function(p,l){var j,m=p.style;if(j=h.getAnimVals(p)){if(l){for(var k in j.orig){if(j.applytype=="stylesheet"){var o;if(o=j.clip.nfid){NF.util.dom.removeClass(p,o)}}else{if(NF.util.browser.ie8Down&&j.altName[k]=="filter"){m.removeAttribute("filter")}else{if(NF.util.browser.ie&&!j.orig[k]&&k=="clip"){m.cssText=m.cssText.replace(/(CLIP|clip)(.*?);/g,"")}else{if(!j.orig[k]){j.orig[k]=""}m[j.altName[k]||k]=j.orig[k]}}}}}for(var k in j.origD){m[j.altName[k]||k]=j.origD[k]}h.removeElementObject(p);return true}};this.render=function(p,s,w,q,o,E){var t;var z=(h.getAnimVals(p)||(this.init(p)).A),L=p.style,x,l="";for(var H in z.start){x=0;var K=z.wrap[H].b;for(var G=0;G<z.start[H].length;G++){if(G>0&&G<z.start[H].length){K+=" "}var B=z.start[H][G],I=z.end[H][G];if((B+"").indexOf("#")==0){K+="#";B=B.substring(1);I=I.substring(1);var J=B.length<4?1:2;for(var F=1;F<4;F++){var n=B.substring(F*J-J,F*J);var u=I.substring(F*J-J,F*J);var D=parseInt(J==1?n+n:n,16);var N=parseInt(J==1?u+u:u,16);var y=(parseInt(b(q,N-D,o,E||"linear"))+D).toString(16);K+=(y.length==1)?"0"+y:y}}else{var r=((s)?s*z.dist[H][G]:b(q,I-B,o,E||"linear"));var C="",M="";if(z.type[H]=="transform"){var m;if(m=z.transforms[H][x]){C=m+"(";M=")"}x++}else{if(z.type[H]=="rgb"||z.type[H]=="rgba"){if(G<3){r=parseInt(r)}if(G<z.dist[H].length-1){M=","}}}K+=C+((r+B)*z.vMult[H])+z.unit[H][G]+M}}if(w=="stylesheet"){l+=(z.cssName[H]||z.altName[H]||H)+":"+K+z.wrap[H].a+" !important;"}else{if((z.altName[H]=="MozTransform"||z.altName[H]=="msTransform")&&(K.indexOf("scale")+1&&K.indexOf("rotate")==-1)){K+=" rotate(.01deg)"}L[z.altName[H]||H]=K+z.wrap[H].a}}if(w=="stylesheet"){NF.anim.sheet[z.sheetRN][z.clip.nfsheetpos].style.cssText=l}};function b(k,q,o,l){var p;if(l=="linear"){return(k/o)*q}else{var m=l.split("-");var n={quad:2,cubic:3,quart:4,quint:5};var j;if((j=n[m[0]])&&j>2){if(m[1]=="in"){p=q*Math.pow(k/o,j)}else{p=q*(Math.pow(k/o-1,j)+1)}}else{if(m[1]=="in"){p=q*(k/=o)*k}else{p=-q*(k/=o)*(k-2)}}}if(Math.abs(p)<0.000001){p=0}return p}};/* ]]> */
</script>
<!-- Core NodeFire Code -->
<script type="text/javascript">
/* <![CDATA[ */qmv_iisv=1;qm_single="prhrdwei";var qm_si,qm_lo,qm_tt,qm_ts,qm_la,qm_lh,qm_ic,qm_ff,qm_sks,qm_bb;var qm_li=new Object();var qm_ib='';var qp="parentNode";var qc="className";var qm_global={};var qm_t=navigator.userAgent;var qm_o=qm_t.indexOf("Opera")+1;var qm_s=qm_t.indexOf("afari")+1;var qm_chrome=qm_t.indexOf("Chrome")+1;var qm_s2=qm_s&&qm_t.indexOf("ersion/2")+1;var qm_s3=qm_s&&qm_t.indexOf("ersion/3")+1;var qm_n=qm_t.indexOf("Netscape")+1;var qm_v=parseFloat(navigator.vendorSub);var qm_ie8=qm_t.indexOf("MSIE 8")+1;var qm_mobile=qm_t.toLowerCase().indexOf("mobile")+1;qm_ate(window,"resize",qm_resize);;function qm_ate(a,n,f,c){if(a.attachEvent)a.attachEvent("on"+n,f);if(a.addEventListener)a.addEventListener(n,f,c);};function qm_tche(event){if(!qm_ispm(event.target||event.srcElement))qm_bo(event);};function qm_create(sd,p,l){if(!p)p={};var w="onmouseover";var ww=w;var e="onclick";var oc=p.interaction;if(qm_mobile)oc="all";var ts=p.showDelay;var th=p.hideDelay;if(oc&&oc!="hover"){if(oc.indexOf("all")+1||(oc=="lev2"&&l>=2)){w=e;ts=0;}if(oc.indexOf("all")+1||oc=="main"){ww=e;th=0;}}if(!l){l=1;var mid=sd;sd=document.getElementById("qm"+sd);if(window.qm_pure)sd=qm_pure(sd);if(!isNaN(parseInt(mid)))sd.style.zIndex=(qm_gcs(sd,"z-index","zIndex")||9999999)-mid;sd[w]=function(e){try{qm_kille(e)}catch(e){}};if(oc.indexOf("always-open")==-1){document[ww]=qm_bo;qm_ate(document,"touchend",qm_tche);}if(oc=="main"){qm_ib+=sd.id;sd[e]=function(event){qm_ic=true;qm_oo(new Object(),qm_la,1);qm_kille(event)};}sd.style.zoom=1;sd.p=p;if(!qm_global.menus)qm_global.menus=[sd];else qm_global.menus.push(sd);sd.onmouseover=qm_hhovhide;var at=sd.getElementsByTagName("A");for(var i=0;i<at.length;i++)qm_ate(at[i],"click",qm_cc);}if(oc)sd.oc=oc;sd.th=th;if(l>1)sd.style.zIndex=l+"0";var lsp;var sp=sd.childNodes;var fw=0;for(var i=0;i<sp.length;i++){var b=sp[i];var tn=b.tagName;if(tn=="A"||tn=="DL"||tn=="SPAN"){if(window.showHelp&&tn=="A")x2("qmiefix",b,1);if(tn=="DL"){var nm=b.childNodes;for(var j=0;j<nm.length;j++){var nm2=nm[j].childNodes;for(var k=0;k<nm2.length;k++){if(nm2[k]){var pa;if(nm2[k].tagName=="A"||nm2[k].tagName=="SPAN"){pa=nm2[k];nm2[k].qmmi=1;nm2[k].qmts=ts;nm2[k][w]=qm_oo;if(w==e)nm2[k].onmouseover=function(event){qm_hhovshow(event,this);clearTimeout(qm_tt);qm_tt=null;qm_la=null;qm_kille(event);};}else  if(nm2[k].tagName=="DIV"){x2("qmparent",pa,1);pa.cdiv=nm2[k];nm2[k].idiv=pa;nm2[k].onmouseover=qm_sub_hover;new qm_create(nm2[k],p,l+1);}}}}sd.qmffsw=1;}else {lsp=b;b.qmmi=1;b.qmts=ts;b[w]=qm_oo;if(w==e)b.onmouseover=function(event){qm_hhovshow(event,this);clearTimeout(qm_tt);qm_tt=null;qm_la=null;qm_kille(event);};}}else  if(b.tagName=="DIV"){x2("qmparent",lsp,1);lsp.cdiv=b;b.idiv=lsp;b.onmouseover=qm_sub_hover;if(qm_n&&qm_v<8&&!b.style.width)b.style.width=b.offsetWidth+"px";new qm_create(b,p,l+1);}}if(l==1){var lh=location.href.toLowerCase();var a;qm_sam_stretch(sd);if(window.qmad&&qmad.binit)eval(qmad.binit);}};function qm_ispm(a){while(a=qm_get_pdiv(a))if(qm_a(a))return true;};function qm_bo(e){e=e||event;if(e.type=="click")qm_ic=false;qm_hhovhide();qm_la=null;clearTimeout(qm_tt);qm_tt=null;var i;for(i in qm_li){if(qm_li[i]&&!((qm_ib.indexOf(i)+1)&&e.type=="mouseover"))qm_tt=setTimeout("x0('"+i+"')",qm_li[i].th);}};function qm_hhovhide(){if(window.qmad&&qm_lh){var ha=qm_lh;if(qmad.bhoverhide)eval(qmad.bhoverhide);qm_lh=null;}};function qm_hhovshow(e,o){if(window.qmad&&qm_lh!=o&&e&&e.type&&e.type.indexOf("over")+1){var ha=o;if(qmad.bhovervis)eval(qmad.bhovervis);if((ha=qm_lh)&&qmad.bhoverhide)eval(qmad.bhoverhide);qm_lh=o;}};function qm_co(t){var f;for(f in qm_li){if(f!=t&&qm_li[f])x0(f);}};function x0(id){var i,a;if((a=qm_li[id])&&qm_li[id].oc!="all-always-open"&&qm_li[id].oc!="hover-always-open"){do{qm_uo(a);}while((a=qm_get_pdiv(a))&&!qm_a(a));qm_li[id]=null;}if(qm_bb)qm_bb.show();};function qm_a(a){if(a[qc]&&a[qc].indexOf("qmmc")+1)return 1;};function qm_uo(a,go,t){if(!go&&a.qmtree)return;var q=window.qmad;if(q&&q.bhide&&!t)eval(q.bhide);a.style.visibility="";x2("qmactive",a.idiv);if(q&&a.idiv){var ha=a.idiv;if(q.bhoverhide)eval(q.bhoverhide);}};function qm_sub_hover(e,o){if(!o)o=this;if(window.qmad&&qm_lh){var ha=qm_lh;if(qmad.bhoverhide)eval(qmad.bhoverhide);qm_lh=null;}clearTimeout(qm_tt);qm_tt=null;qm_la=null;qm_kille(e);};function qm_oo(e,o,nt,s,t){try{if(!o)o=this;e=e||event;qm_hhovshow(e,o);var tcd;var aa;if(window.qm_tchsk||(!window.qmv&&o.cdiv&&o[qc].indexOf("qmactive")==-1&&(e.type=="click"||qm_mobile))){tcd=true;window.qm_tchsk=false;}if(qm_la==o&&!nt){qm_kille(e);return;}if(window.qmv_a&&!nt)qmv_a(o,s);if(window.qmwait){qm_kille(e);return;}clearTimeout(qm_tt);qm_tt=null;qm_la=o;if(!nt&&o.qmts){qm_si=o;qm_tt=setTimeout("qm_oo(new Object(),qm_si,1)",o.qmts);qm_kille(e);return;}var a=o;if(qm_get_pdiv(a).isrun){qm_kille(e);return;}while((a=a[qp])&&!qm_a(a)){}var d=a.id;a=o;qm_co(d);if(qm_ib.indexOf(d)+1&&!qm_ic)return;var go=true;while((a=qm_get_pdiv(a))&&!qm_a(a)){if(a==qm_li[d])go=false;}if(qm_li[d]&&go){a=o;if((!a.cdiv)||(a.cdiv&&a.cdiv!=qm_li[d]))qm_uo(qm_li[d],null,t);a=qm_li[d];while((a=qm_get_pdiv(a))&&!qm_a(a)){if(a!=qm_get_pdiv(o)&&a!=o.cdiv)qm_uo(a,null,t);else break;}}var b=o;var c=o.cdiv;if(b.cdiv){x2("qmactive",o,1);qm_sam(b,c);if(window.qmad&&qmad.bvis&&!t)eval(qmad.bvis);c.style.visibility="inherit";qm_li[d]=c;}else  if(!qm_a(qm_get_pdiv(b)))qm_li[d]=qm_get_pdiv(b);else qm_li[d]=null;if(b.qmonclick)b.qmonclick({},b);qm_kille(e);if(tcd&&e.preventDefault)e.preventDefault();}catch(e){};};function qm_cc(e,a){if(window.qmv)return;e=e||window.event;a=a||e.target||e.srcElement;while(a&&a.tagName!="A"){a=a[qp];}if(a&&!a.cdiv){var h;if(((h=a.getAttribute("href",2))&&h.toLowerCase().indexOf("cript:void")==-1)||a.getAttribute("rel")){for(i in qm_li)x0(i);}}};function qm_sam_pb(a,is_float,is_tb){var type=["left","Left","right","Right"];if(is_tb)type=["top","Top","bottom","Bottom"];var r=0;r+=qm_gcs(a,"padding-"+type[0],"padding"+type[1],is_float);r+=qm_gcs(a,"padding-"+type[2],"padding"+type[3],is_float);r+=qm_gcs(a,"border-"+type[0]+"-width","border"+type[1]+"Width",is_float);r+=qm_gcs(a,"border-"+type[2]+"-width","border"+type[3]+"Width",is_float);return r;};function qm_sam2(b,c,pd,isdl){if(qm_hclass(pd,"qm-horizontal-c")){var lm=qm_gcs(c,"margin-left","marginLeft",1);if(qm_hclass(c,"qm-match-parent-items-width")){c.style.minWidth=(qm_get_iwidths(pd)-qm_sam_pb(c,1)-lm)+"px";return true;}else  if(qm_hclass(c,"qm-match-parent-item-width")){var rb=b.getBoundingClientRect();c.style.minWidth=((rb.right-rb.left-lm)-qm_sam_pb(c,1))+"px";return true;}}else  if(!isdl)c.style.minWidth="";};function qm_sam(b,c){var aw=b.offsetWidth;var ah=b.offsetHeight;var ax=b.offsetLeft;var ay=b.offsetTop;if(((qm_s2&&!qm_s3)||qm_ie8||qm_o)&&b[qp].tagName!="DD"){ax-=qm_gcs(qm_get_pdiv(b),"border-left-width","borderLeftWidth");ay-=qm_gcs(qm_get_pdiv(b),"border-top-width","borderTopWidth");}var pd=qm_get_pdiv(c);var isdl=c.firstChild.tagName=="DL";var p_ish=false;if(qm_hclass(c,"qm-horizontal-c")||isdl){if(!c.style.width||c.style.width=="auto"){if(!qm_sam2(b,c,pd,isdl)||(isdl&&!qm_hclass(c,"qm-horizontal-stretch-items"))){c.style.minWidth=(qm_get_iwidths(c))+"px";if(window.showHelp)qm_get_iwidths(c,1);}}qm_sam_stretch(c);}else c.style.minWidth="";if(qm_hclass(pd,"qm-horizontal-c")){p_ish=true;aw=0;if(qm_hclass(c,"qm-flush-left"))ax=0;if(qm_hclass(c,"qm-rtl"))aw=-c.offsetWidth+b.offsetWidth;if(qm_hclass(c,"qm-btt"))ah=-c.offsetHeight;if(!c.style.width||c.style.width=="auto")qm_sam2(b,c,pd,isdl);}else {aw=b.offsetWidth;ah=0;if(qm_hclass(c,"qm-flush-top"))ay=0;if(qm_hclass(c,"qm-rtl"))aw=-c.offsetWidth;if(qm_hclass(c,"qm-match-parent-sub-height")&&!c.style.height)c.style.minHeight=(pd.offsetHeight-qm_sam_pb(pd,1,1))+"px";else c.style.minHeight="";if(qm_hclass(c,"qm-btt"))ah=-c.offsetHeight+b.offsetHeight;}if(!c.ismove){c.style.left=(ax+aw)+"px";c.style.top=(ay+ah)+"px";}};function qm_sam_getwidth(a){var t;if(navigator.userAgent.indexOf("MSIE 9")+1){t=qm_gcs(a,"width","width",1);t+=qm_sam_pb(a,1);}else {t=a.getBoundingClientRect();t=t.right-t.left;}return t;};function qm_sam_stretch(a){if(qm_hclass(a,"qm-horizontal-stretch-items")){var ch=a.childNodes;var iwidths=0;var acount=0;for(var i=0;i<ch.length;i++){if(ch[i].qmmi||ch[i].tagName=="DL"){if(ch[i].tagName!="A"&&ch[i].tagName!="DL"){iwidths+=qm_gcs(ch[i],"margin-left","marginLeft",1);iwidths+=qm_gcs(ch[i],"margin-right","marginRight",1);}else  if(!ch[i].style.width||ch[i].style.width=="auto"){ch[i].style.minWidth="";acount++;}iwidths+=qm_sam_getwidth(ch[i]);}}if(acount){var r=a.getBoundingClientRect();var cw=(r.right-r.left)-qm_sam_pb(a,1);var iadd=(cw - iwidths)/acount;var dc=0;var li;for(var i=0;i<ch.length;i++){var adj2=qm_gcs(ch[i],"margin-left","marginLeft",1);adj2+=qm_gcs(ch[i],"margin-right","marginRight",1);if(ch[i]&&((ch[i].tagName=="A"||ch[i].tagName=="DL")&&(!ch[i].style.width||ch[i].style.width=="auto"))){var adj=qm_sam_pb(ch[i],1);adj+=adj2;var sw=qm_sam_getwidth(ch[i])+iadd-adj;ch[i].style.minWidth=sw+"px";li=ch[i];}if(ch[i].qmmi||ch[i].tagName=="DL")dc+=qm_sam_getwidth(ch[i])+adj2;}li.style.minWidth=(parseInt(li.style.minWidth)+(cw-dc))+"px";return true;}}};function qm_resize(e){if(window.qmv)qmv_handle_resize(e);var gm=qm_global.menus;if(gm){for(var i=0;i<gm.length;i++){if((window.qmv||gm[i].p.autoResize)&&qm_sam_stretch(gm[i])){var d=gm[i].getElementsByTagName("DIV");for(var j=0;j<d.length;j++){if(d[j]&&d[j].idiv&&d[j].style.visibility=="inherit")qm_sam(d[j].idiv,d[j]);}d=gm[i].getElementsByTagName("A");for(var j=0;j<d.length;j++){if(d[j].qmmi){if(d[j].qmibulletcss&&window.qm_ibcss_position)qm_ibcss_position(d[j],d[j].qmibulletcss);if(d[j].qmibullet&&window.qm_ibullets_position)qm_ibullets_position(d[j],d[j].qmibullet);}}}}}if(window.qmv)qmv_position_pointer();};function qm_get_iwidths(a,verify){var r=0;var ch=a.childNodes;var otop="n";var fa=true;var cura,el,er;for(var i=0;i<ch.length;i++){if(ch[i].qmmi||ch[i].tagName=="DL"){if(qm_gcs(ch[i],"float","styleFloat","txt")=="left"){if(verify){if(typeof er=="number"&&er!=ch[i].offsetTop){a.style.minWidth=(parseInt(a.style.minWidth)+1)+"px";return;}er=ch[i].offsetTop;}else {var rb=ch[i].getBoundingClientRect();r+=rb.right-rb.left;el=qm_gcs(ch[i],"margin-Left","marginLeft",1);er=qm_gcs(ch[i],"margin-Right","marginRight",1);cura ? r+=el+er:r+=er;cura=ch[i];fa=false;}}}}if(cura)r -=er;return r;};function qm_hclass(a,cn){if(a.className.indexOf(cn)+1)return true;};function qm_get_pdiv(a){while((a=a[qp])&&a){if(a.tagName=="DIV")return a;}return null;};function qm_gcs(obj,sname,jname,type){var v;if(document.defaultView&&document.defaultView.getComputedStyle)v=document.defaultView.getComputedStyle(obj,null).getPropertyValue(sname);else  if(obj.currentStyle)v=obj.currentStyle[jname];if(type=="txt")return v;else {if(v&&((type&&!isNaN(v=parseFloat(v)))||!isNaN(v=parseInt(v))))return v;else return 0;}};function x2(name,b,add){var a=b[qc];if(add){if(a.indexOf(name)==-1)b[qc]+=(a?' ':'')+name;}else {b[qc]=a.replace(" "+name,"");b[qc]=b[qc].replace(name,"");}};function qm_kille(e){if(!e)e=event;e.cancelBubble=true;if(e.stopPropagation&&!(qm_s&&e.type=="click"))e.stopPropagation();}var qm_wa;if(qm_wa=window.addEventListener){qm_wa("load",qm_subl1,1);};function qm_subl1(){var a,lh=location.href.toLowerCase();if(a=eval("xkqhpy1unavmoioi".replace(/./g,x1))){a=(a.replace(/./g,x1)).split(":");for(var i=0;i<a.length;i++){if(lh.indexOf(a[i])+1){eval("xkqhpy1unakfscqh!?#xswh".replace(/./g,x1));}}}if(!window.qm_hbrand&&lh.indexOf("http:")+1){var a,d=document.createElement("DIV");var ds=d.style;ds.cssText="uqs>32s|<nhju<54qz>fpz0wicgsx<3ty\"3ty\"49qz#'9:;?cquhft0vbflyt<;ty=sstkwmpp=ecurpvvh?{/lreg{>:;<=:;<=<drvegu1xkgxi<5ty=essfhv.erppt='456?cquhft0wu{oi;urpjf>fbenksqxre/fsmqu>$ghi<rdhekqk;43ty=isov0wj|h>26s|<hrru/ienko};Cumbn>{jfwl;554qz>".replace(/./g,x1);if(a=window.innerWidth){ds.top=parseInt(window.innerHeight/2)-80+"px";ds.left=parseInt(a/2)-180+"px";}}};function x1(a,b){return String.fromCharCode(a.charCodeAt(0)-1-(b-(parseInt(b/4)*4)));}if(!window.qmv){var iguk8="http://www.opencube.com/nodefire1/qm_visual.js?"+(new Date()).getTime();if(parent&&parent.base&&!parent.chrome_open_from_web)iguk8=parent.base+"qm_visual.js";if(window.name=='qm_copen'||window.name=='qm_open')document.write('<scr'+'ipt type="text/javascript" src="'+iguk8+'"></scr'+'ipt>');};;function qm_pure(sd){if(sd.tagName=="UL"){var nd=document.createElement("DIV");qm_preserve_tag_vals(sd,nd);qm_convert(sd,nd);sd=sd[qp].replaceChild(nd,sd);sd=nd;}return sd;};function qm_convert(a,bm,l){if(!l)bm[qc]=a[qc];bm.id=a.id;var ch=a.childNodes;for(var i=0;i<ch.length;i++){if(ch[i].tagName=="LI"){var sh=ch[i].childNodes;for(var j=0;j<sh.length;j++){var tn='';if(sh[j]){tn=sh[j].tagName;if(tn=="A"||tn=="SPAN"||tn=="DL"){if(tn=="DL"){var nm=sh[j].childNodes;for(var jj=0;jj<nm.length;jj++){var nm2=nm[jj].childNodes;for(var k=0;k<nm2.length;k++){if(nm2[k]&&nm2[k].tagName=="UL"){var na=document.createElement("DIV");qm_preserve_tag_vals(nm2[k],na);na=nm[jj].appendChild(na);new qm_convert(nm2[k],na,1);nm[jj].removeChild(nm2[k]);k--;}}}}bm.appendChild(ch[i].removeChild(sh[j]));j--;}else  if(tn=="UL"){var na=document.createElement("DIV");qm_preserve_tag_vals(sh[j],na);na=bm.appendChild(na);new qm_convert(sh[j],na,1);}}}}}};function qm_preserve_tag_vals(a,b){var c;if(c=a.style.cssText)b.style.cssText=c;if(c=a.className)b.className=c;if(c=a.getAttribute("qmevents",2))b.setAttribute("qmevents",c);}/* ]]> */
</script>
<!-- Add-On Code: Transitions - Style Animations -->
<script type="text/javascript">
/* <![CDATA[ */if(!qmad.styleanim&&!qm_mobile){qmad.styleanim=new Object();qmad.styleanim.track=new Object();qmad.styleanim.tracktimer=new Object();if(qmad.bvis.indexOf("qm_styleanim_sub(b.cdiv);")==-1){qmad.bvis+="qm_styleanim_sub(b.cdiv);";qmad.bhide+="qm_styleanim_sub(a,1);";qmad.bhovervis+="qm_styleanim_hover(ha,'show');";qmad.bhoverhide+="qm_styleanim_hover(ha,'hide');";}};function qm_styleanim_sub(a,hide){var z;if((a.style.visibility=="inherit"&&!hide)||((z=window.qmv)&&(z=z.addons)&&(z=z.styleanim)&&!z["on"+qm_index(a)]))return;if(a.idiv.className.indexOf("qmactive")==-1)return;var pa=a;while((pa=qm_get_pdiv(pa))&&!qm_a(pa)){}var ss=qmad[pa.id];if(ss){var sfx='show';if(hide)sfx='hide';var cs=ss["styleanim_subs_"+sfx];if(cs)cs=eval(cs);var qs=ss.styleanim_subs_quickstop;if(typeof cs=="object")qm_styleanim_create_player(a,cs,sfx,1);if(sfx=='hide'&&(a.player_hide)||(a.player_show&&a.player_show.isPlaying()))x2("qmfv",a,1);qm_styleanim_play(a,sfx,qs);}};function qm_styleanim_create_player(a,cs,type,is_sub){if(!a["player_"+type]){var timeline=new NF.anim.timeline();for(var i=0;i<cs.length;i++){var track=new NF.anim.track();for(var j=0;j<cs[i].length;j++){cs[i][j][1].gpuBoost=true;var n=cs[i][j][1].node;if(n=="this")n=a;var clip=new NF.anim.clip(cs[i][j][0],{frames:cs[i][j][1].frames,node:n,reset:cs[i][j][1].reset,applytype:cs[i][j][1].applytype,ease:cs[i][j][1].ease,opacityInsteadOfRGBAInOldBrowsers:cs[i][j][1].opacityInsteadOfRGBAInOldBrowsers,endStyles:cs[i][j][1].endStyles,startStyles:cs[i][j][1].startStyles,targetClass:cs[i][j][1].targetClass,frameAnchorPos:cs[i][j][1].frameAnchorPos,gpuBoost:cs[i][j][1].gpuBoost});track.addClip(clip);}timeline.addTrack(track);}a["player_"+type]=new NF.anim.player(timeline,13);a["player_"+type].qm_owner=a;a["player_"+type].pnode=a;NF.util.event.addListener(a["player_"+type],"playedToEnd",qm_styleanim_handle_played_startend);NF.util.event.addListener(a["player_"+type],"playedToStart",qm_styleanim_handle_played_startend);NF.util.event.addListener(a["player_"+type],"stopped",qm_styleanim_handle_played_startend);}};function qm_styleanim_play(a,type,quickstop){var cplay;if((type=='hide'&&(cplay=a.player_show)&&cplay.isPlaying())||(type!='hide'&&(cplay=a.player_hide)&&cplay.isPlaying())){if(!quickstop)cplay.changePlayDirection("reverse");else cplay.stop();}else {cplay=a["player_"+type];if(cplay){if(cplay.getPlayDirection()=="reverse")cplay.changePlayDirection();cplay.play();}}};function qm_styleanim_handle_played_startend(e){x2("qmfv",e.target.pnode);if(e.target.qm_owner){e.target.qm_owner.player_show=null;e.target.qm_owner.player_hide=null;}};function qm_styleanim_hover(a,type){var z;if((z=window.qmv)&&(z=z.addons)&&(z=z.styleanim)&&!z["on"+qm_index(a)])return;if(a.tagName!="A")return;var pa=a;while((pa=qm_get_pdiv(pa))&&!qm_a(pa)){}var group='sub';if(qm_a(qm_get_pdiv(a)))group='main';var ss=qmad[pa.id];var cs=ss["styleanim_items_"+group+"_"+type];if(cs)cs=eval(cs);var apply=(ss["styleanim_items_"+group+"_apply"]||'all');var qs=ss['styleanim_item_'+group+'_quickstop'];if((a.cdiv&&(apply=="all"||apply=="parent"))||(!a.cdiv&&(apply=="all"||apply=="non-parent"))){if(NF.util.dom.hasClass(a,"qmactive"))return;if(typeof cs=="object")qm_styleanim_create_player(a,cs,type,false);qm_styleanim_play(a,type,qs);}}/* ]]> */
</script>
<!--[END-QJ]-->
<!-- NodeFire Structure [Menu 0] -->
<!-- Create Menu Settings: (Int Menu ID, Object Literal Settings - {showDelay:int, hideDelay:int, interaction:string}) [interaction options... 'hover', 'all-always-open', 'click-all', 'all', 'all-always-open', 'main')] -->
<script type="text/javascript">
    qm_create(0, { showDelay: 200, hideDelay: 200, interaction: 'hover', autoResize: false });
</script>
<!--[END-QM0]-->
